package com.sap.tpcd.policybuilder.policymodel ;

/**
 * @author I068988
 * @version 1.0
 * @created 30-sept.-2011 14:12:34
 */
public class Obligation extends Policy {

	private PolicyElement action;
	private PolicyElement ressource;
	private PolicyElement subject;

	public Obligation(){
		super();
	}

	public Obligation(PolicyElement action, PolicyElement ressource,
			PolicyElement subject) {
		super();
		this.action = action;
		this.ressource = ressource;
		this.subject = subject;
	}

	/**
	 * @return the action
	 */
	public PolicyElement getAction() {
		return action;
	}

	/**
	 * @param action the action to set
	 */
	public void setAction(PolicyElement action) {
		this.action = action;
	}

	/**
	 * @return the ressource
	 */
	public PolicyElement getRessource() {
		return ressource;
	}

	/**
	 * @param ressource the ressource to set
	 */
	public void setRessource(PolicyElement ressource) {
		this.ressource = ressource;
	}

	/**
	 * @return the subject
	 */
	public PolicyElement getSubject() {
		return subject;
	}

	/**
	 * @param subject the subject to set
	 */
	public void setSubject(PolicyElement subject) {
		this.subject = subject;
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#hashCode()
	 */
	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return super.hashCode();
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return super.equals(obj);
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#getPolicyName()
	 */
	@Override
	public String getPolicyName() {
		// TODO Auto-generated method stub
		return super.getPolicyName();
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#setPolicyName(java.lang.String)
	 */
	@Override
	public void setPolicyName(String policyName) {
		// TODO Auto-generated method stub
		super.setPolicyName(policyName);
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#getM_PolicyElement()
	 */
	@Override
	public PolicyElement getM_PolicyElement() {
		// TODO Auto-generated method stub
		return super.getM_PolicyElement();
	}

	/* (non-Javadoc)
	 * @see com.sap.tpcd.policyhandler.Policy#setM_PolicyElement(com.sap.tpcd.policyhandler.PolicyElement)
	 */
	@Override
	public void setM_PolicyElement(PolicyElement m_PolicyElement) {
		// TODO Auto-generated method stub
		super.setM_PolicyElement(m_PolicyElement);
	}


}